package com.me.launcher.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * @author hejiangwei
 * Created at 2018/5/15.
 */
public class ShortCutEvent {
    int status;
    List<Integer> indexArr;
    AppBean mAppBean;

    public ShortCutEvent(int status, List<Integer> indexArr, AppBean appBean) {
        this.status = status;
        this.indexArr = indexArr;
        mAppBean = appBean;
    }


    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<Integer> getIndexArr() {
        if (indexArr == null) {
            return new ArrayList<>();
        }
        return indexArr;
    }

    public void setIndexArr(List<Integer> indexArr) {
        this.indexArr = indexArr;
    }

    public AppBean getAppBean() {
        return mAppBean;
    }

    public void setAppBean(AppBean appBean) {
        mAppBean = appBean;
    }

    @Override
    public String toString() {
        return "ShortCutEvent{" +
                "status=" + status +
                ", indexArr=" + indexArr +
                ", mAppBean=" + mAppBean +
                '}';
    }
}
